using System;

namespace VOL.Entity.DomainModels
{
    /// <summary>
    /// 退货订单明细DTO（用于出库关联）
    /// </summary>
    public class ReturnOrderDetailDto
    {
        /// <summary>
        /// 明细ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 所属退货单外键ID
        /// </summary>
        public long ReturnOrderId { get; set; }

        /// <summary>
        /// 进货明细外键ID
        /// </summary>
        public long PurchaseOrderItemId { get; set; }

        /// <summary>
        /// 货品ID（来自进货明细）
        /// </summary>
        public long GoodsId { get; set; }

        /// <summary>
        /// 货品编号
        /// </summary>
        public string GoodsCode { get; set; }

        /// <summary>
        /// 货品名称
        /// </summary>
        public string GoodsName { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string SpecModel { get; set; }
        public int currentInventory { get; set; }

        /// <summary>
        /// 退货数量
        /// </summary>
        public int ReturnNumber { get; set; }

        /// <summary>
        /// 退货金额
        /// </summary>
        public long ReturnMoney { get; set; }

        /// <summary>
        /// 进货单价（来自进货明细）
        /// </summary>
        public decimal? PurchasePrice { get; set; }

        /// <summary>
        /// 货品状态（来自货品表）
        /// </summary>
        public sbyte Status { get; set; }

        /// <summary>
        /// 货品类型ID（来自货品表）
        /// </summary>
        public int ProductTypeId { get; set; }

        /// <summary>
        /// 供应商ID（来自货品表）
        /// </summary>
        public long? SupplierId { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
    }
}
